{breadcrumbs}<a href="{$GLOBALS.site_url}/users/?restore=1">Users</a> &#187; <a href="{$GLOBALS.site_url}/add-user/">Add a New User</a> &#187; {$user_group.name}{/breadcrumbs}
<h1><img src="{image}/icons/usersplus32.png" border="0" alt="" class="titleicon" />Add User</h1>
{include file="field_errors.tpl"}

<fieldset>
	<legend>Add a New User</legend>
	<form method="post">
	<input type="hidden" name="action" value="add">
	<input type="hidden" name="user_group_id" value="{$user_group.id}">
		<table>
		{foreach from=$form_fields item=form_field}
			<tr>
				<td valign=top>{$form_field.caption}</td>
				<td valign=top>{if $form_field.is_required} <font color="red">*</font>{/if} </td>
				<td> {input property=$form_field.id}</td>
			</tr>
			{/foreach}
			
			<tr>
				<td colspan="3">
                    <div class="floatRight"><input type="submit" value="Add" class="grayButton" /></div>
                </td>
			</tr>
		</table>
	</form>
</fieldset>